# Maintainer: Maxime Gauduin <alucryd@archlinux.org>

pkgname=wingpanel-indicator-keyboard
pkgver=2.4.1
pkgrel=2
pkgdesc='Wingpanel Keyboard Indicator'
arch=(loong64 x86_64)
url=https://github.com/elementary/wingpanel-indicator-keyboard
license=(GPL3)
groups=(pantheon)
depends=(
  glib2
  gtk3
  ibus
  libxml2
  wingpanel
)
makedepends=(
  git
  meson
  vala
)
_tag=f9f58967e7f407949a6d631d068b2a61dcd4e4b0
source=(git+https://github.com/elementary/wingpanel-indicator-keyboard.git#tag=${_tag})
sha256sums=(SKIP)

pkgver() {
  cd wingpanel-indicator-keyboard
  git describe --tags
}

build() {
  arch-meson wingpanel-indicator-keyboard build
  ninja -C build
}

package() {
  DESTDIR="${pkgdir}" ninja -C build install
}

# vim: ts=2 sw=2 et:
